home *** CD-ROM | disk | FTP | other *** search
/ Alde ADA 5 #1 / ADA CD-ROM - Alde Publishing.iso / cm / permutat.sid < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.4 KB  |  74 lines

  1. --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
  2. -- UNIT NAME         : Permutations_Class
  3. -- VERSION           : 1.0
  4. -- REVIEW CODE       : 
  5. -- DDN ADDRESS       : bryan@su-sierra
  6. -- AUTHOR            : Doug Bryan
  7. --                   : Computer Systems Lab
  8. --                   : Stanford University
  9. --                   : Stanford CA, 94305
  10. -- COPYRIGHT         : 
  11. -- DATE CREATED      : 15 April 1985
  12. -- DATE RELEASED     : 15 April 1985
  13. -- DATE LAST UPDATED : 15 April 1985
  14. -- LOCATION          : C2MUG
  15. -- LOCATION          : ASR
  16. -- ENVIRONMENT       : DG MV/10000 ADE 2.2
  17. --= CLASSIFICATION       ===============================================--
  18. -- CATEGORY LEVEL 1  : COMPONENTS
  19. -- CATEGORY LEVEL 2  : Permutations Class
  20. -- CATEGORY LEVEL 3  : 
  21. -- CATEGORY LEVEL 4  : 
  22. -- KEYWORD           : 
  23. -- INDEX             : Permutations
  24. -- INDEX             : Recursion
  25. -- INDEX             : Nested Generics
  26. -- INDEX             : Generics, Nested
  27. -- INDEX             : Iterators
  28. -- TAXONOMY          : 
  29. -- DEPENDENCIES      : 
  30. -- SEE ALSO          : 
  31. --= FILE LISTING         ===============================================--
  32. -- FILE SPECS        : PD:<ADA.COMPONENTS>PERMUTATE.*
  33. -- DIRECTORY DISPLAY :
  34. -- Directory   PD:<ADA.COMPONENTS>
  35. --      File Name     Byte Count  Line Count
  36. --   ---------------  ----------  ----------
  37. --   PERMUTATE.ADA         11226         306
  38. --   PERMUTATE.PRO          3326          69
  39. --   ===============  ==========  ==========
  40. --     2 Files             14552         375
  41. --= ABSTRACT             ===============================================--
  42. --         This  is  a  generic  package  which, given an array of items,
  43. -- forms all possible permutations using these items.  The  package  does
  44. -- so  by  providing  a  generic  permutation  class,  within which is an
  45. -- iterator.  The iterator has a generic formal subprogram  to  which  it
  46. -- passes each permutation.
  47. -- 
  48. --         The package may make a  nice  example  of  the  following  Ada
  49. -- features:  nested generics, recursion, generic formal subprograms as a
  50. -- method of implementing an iterator.
  51. --= REVISION HISTORY     ===============================================--
  52. --
  53. -- DATE         VERSION    AUTHOR                  HISTORY
  54. --     none yet...
  55. --= RELEASE NOTICE       ===============================================--
  56. -- This prologue must be included in all copies of this software.
  57. --
  58. -- This software is released to the Ada community.
  59. -- This software is released to the Public Domain (note:
  60. --   software released to the Public Domain is not subject
  61. --   to copyright protection).
  62. -- Restrictions on use or distribution:  NONE
  63. --= DISCLAIMER           ===============================================--
  64. --     This software and its documentation are provided "AS IS" and
  65. -- without any expressed or implied warranties whatsoever.  No warranties
  66. -- as to performance, merchantability, or fitness for a particular
  67. -- purpose exist.
  68. --     The user is advised to test the software thoroughly before
  69. -- relying on it.  The user must assume the entire risk and liability of
  70. -- using this software.  In no event shall any person or organization of
  71. -- people be held responsible for any direct, indirect, consequential or
  72. -- inconsequential damages or lost profits.
  73. --======================================================================--
  74.